CREATE TABLE [dbo].[tb_ItemsDeHistoriaClinica]
(
[idItemHistoriaClinica] [int] NOT NULL IDENTITY(1, 1),
[Descripcion] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[HistoriaClinica] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_ItemsDeHistoriaClinica] ADD CONSTRAINT [PK_tb_ItemsDeHistoriaClinica] PRIMARY KEY NONCLUSTERED  ([idItemHistoriaClinica]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_ItemsDeHistoriaClinica] ADD CONSTRAINT [FK_tb_ItemsDeHistoriaClinica_tb_HistoriaClinica] FOREIGN KEY ([HistoriaClinica]) REFERENCES [dbo].[tb_HistoriaClinica] ([IdHistoriaClinica])
GO
